package com.booksys.mapper;

import com.booksys.pojo.Visited;
import com.booksys.pojo.VisitedExample;
import com.booksys.pojo.VisitedWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface VisitedDao {
    long countByExample(VisitedExample example);

    int deleteByExample(VisitedExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(VisitedWithBLOBs record);

    int insertSelective(VisitedWithBLOBs record);

    List<VisitedWithBLOBs> selectByExampleWithBLOBs(VisitedExample example);

    List<Visited> selectByExample(VisitedExample example);

    VisitedWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") VisitedWithBLOBs record, @Param("example") VisitedExample example);

    int updateByExampleWithBLOBs(@Param("record") VisitedWithBLOBs record, @Param("example") VisitedExample example);

    int updateByExample(@Param("record") Visited record, @Param("example") VisitedExample example);

    int updateByPrimaryKeySelective(VisitedWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(VisitedWithBLOBs record);

    int updateByPrimaryKey(Visited record);
}